import 'package:flutter_widget/flutterplugin/device_info_plus.dart';
import 'package:flutter_widget/flutterplugin/easyrefresh_page.dart';
import 'package:flutter_widget/flutterplugin/image_gallery_saver.dart';
import 'package:flutter_widget/flutterplugin/image_picker.dart';
import 'package:flutter_widget/flutterplugin/intl.dart';
import 'package:flutter_widget/flutterplugin/barcode_widge_page.dart';
import 'package:flutter_widget/flutterplugin/flutter_slidable_page.dart';
import 'package:flutter_widget/flutterplugin/path_provider.dart';
import 'package:flutter_widget/flutterplugin/pedometer_page.dart';
import 'package:flutter_widget/flutterplugin/permission_handler.dart';
// import 'package:flutter_widget/flutterplugin/pdf_page.dart';
import 'package:flutter_widget/flutterplugin/signature_page.dart';
import 'package:flutter_widget/flutterplugin/table_calendar.dart';
import 'package:flutter_widget/flutterplugin/url_launcher.dart';
import 'package:flutter_widget/flutterplugin/package_info.dart';
import 'package:flutter_widget/flutterplugin/minebattery.dart';
import 'package:flutter_widget/flutterplugin/connectivity.dart';
import 'package:flutter_widget/flutterplugin/barcode_scan2.dart';
import 'package:flutter_widget/flutterplugin/gesture_password_widget.dart';
import 'package:flutter_widget/flutterplugin/scrollable_list_tabview.dart';
import 'package:flutter_widget/flutterplugin/swiperlist.dart';
import 'package:flutter_widget/flutterplugin/left_scroll_actions.dart';
import 'package:flutter_widget/flutterplugin/webview.dart';

class PluginUtils {
  // ignore: non_constant_identifier_names
  static List PluginLists = [
    {
      "text": "init 时间选择器",
      "icon": 0xe6ae,
      "content": InitPage(name: 'init 时间选择器'),
    },
    {
      "text": "barcode_widge 生成二维码",
      "icon": 0xe6ae,
      "content": const BarcodeWidgePage(name: 'barcode_widge 生成二维码'),
    },
    {
      "text": "signature 手写签名",
      "icon": 0xe6ae,
      "content": SignaturePage(name: 'signature 手写签名'),
    },
    {
      "text": "flutter_slidable 侧滑",
      "icon": 0xe6ae,
      "content": SlidAble(name: 'flutter_slidable 侧滑'),
    },
    {
      "text": "package_info 获取包名信息",
      "icon": 0xe6ae,
      "content": PackageInfoPage(name: 'package_info 获取包名信息'),
    },
    {
      "text": "url_launcher 打开网页，发送邮件，拨打电话",
      "icon": 0xe6ae,
      "content": UrlLauncher(name: 'url_launcher 打开网页，发送邮件，拨打电话'),
    },
    {
      "text": "connetivity 网诺检测",
      "icon": 0xe6ae,
      "content": ConnetivityPage(name: 'connetivity 网诺检测'),
    },
    {
      "text": "batteryPage 获取电池电量",
      "icon": 0xe6ae,
      "content": BatteryPage(name: 'batteryPage 获取电池电量'),
    },
    {
      "text": "webview 网页加载",
      "icon": 0xe6ae,
      "content": WebViewExample(name: 'webview 网页加载'),
    },
    {
      "text": "barcode_scan2 二维码扫描",
      "icon": 0xe6ae,
      "content": const BarcodeScan2Page(name: 'barcode_scan2 二维码扫描'),
    },
    {
      "text": "gesture_password_widget 手势密码解锁",
      "icon": 0xe6ae,
      "content":
          GesturePasswordWidgetPage(name: 'gesture_password_widget 手势密码解锁')
    },
    {
      "text": "scrollable_list_tabview 滚动列表",
      "icon": 0xe6ae,
      "content": ScrollableListTableview(name: 'scrollable_list_tabview 滚动列表')
    },
    {
      "text": "swiper 轮播图",
      "icon": 0xe6ae,
      "content": SwiperList(name: 'swiper 轮播图')
    },
    {
      "text": "left_scroll_actions 左滑菜单",
      "icon": 0xe6ae,
      "content": LeftScrollActions(name: 'left_scroll_actions 左滑菜单')
    },
    // {
    //   "text": "PDF",
    //   "icon": 0xe6ae,
    //   "content":PdffilePage(name: 'PDF')
    // },
    {
      "text": "上拉加载 下拉刷新",
      "icon": 0xe6ae,
      "content": EasyrefreshPage(name: '上拉加载 下拉刷新')
    },
    {
      "text": "path_provider 获取缓存 清除缓存",
      "icon": 0xe6ae,
      "content": PathProviderPage(name: 'path_provider 获取缓存 清除缓存')
    },
    {
      "text": "image_picker 选取图片",
      "icon": 0xe6ae,
      "content": ImagePickerPage(name: 'image_picker 选取图片')
    },
    {
      "text": "table_calendar 日历组件",
      "icon": 0xe6ae,
      "content": TableCalendarPage(name: 'table_calendar 日历组件')
    },
    {
      "text": "pedometer 步数统计",
      "icon": 0xe6ae,
      "content": PedometerPage(name: 'pedometer 步数统计')
    },
    {
      "text": "pedometer 步数统计",
      "icon": 0xe6ae,
      "content": PedometerPage(name: 'pedometer 步数统计')
    },
    {
      "text": "permission_handler 权限",
      "icon": 0xe6ae,
      "content": PermissionHandlerPage(name: 'permission_handler 权限')
    },
    {
      "text": "device_info_plus 设备信息",
      "icon": 0xe6ae,
      "content": DeviceInfoPlus(name: 'device_info_plus 设备信息')
    },
    {
      "text": "image_gallery_saver 文件保存插件",
      "icon": 0xe6ae,
      "content": ImageGallerySaverPage(name: 'image_gallery_saver 文件保存插件')
    },
  ];
}
